package com.zhiyou.app.shop.website.dao.pojo;

// default package

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * Msg entity. @author MyEclipse Persistence Tools
 */

public class Msg implements Serializable{


    // Fields    

     private String id;
     private String title;
     private String msg;
     private String receiveId;
     private String sendId;
     private String replyId;
     private String type;
     private String isRead;
     private Timestamp createDate;
     private Timestamp readDate;
     private String flag;


    // Constructors

    /** default constructor */
    public Msg() {
    }

    
    /** full constructor */
    public Msg(String title, String msg, String receiveId, String sendId, String replyId, String type, String isRead, Timestamp createDate, Timestamp readDate, String flag) {
        this.title = title;
        this.msg = msg;
        this.receiveId = receiveId;
        this.sendId = sendId;
        this.replyId = replyId;
        this.type = type;
        this.isRead = isRead;
        this.createDate = createDate;
        this.readDate = readDate;
        this.flag = flag;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }

    public String getMsg() {
        return this.msg;
    }
    
    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getReceiveId() {
        return this.receiveId;
    }
    
    public void setReceiveId(String receiveId) {
        this.receiveId = receiveId;
    }

    public String getSendId() {
        return this.sendId;
    }
    
    public void setSendId(String sendId) {
        this.sendId = sendId;
    }

    public String getReplyId() {
        return this.replyId;
    }
    
    public void setReplyId(String replyId) {
        this.replyId = replyId;
    }

    public String getType() {
        return this.type;
    }
    
    public void setType(String type) {
        this.type = type;
    }

    public String getIsRead() {
        return this.isRead;
    }
    
    public void setIsRead(String isRead) {
        this.isRead = isRead;
    }

    public Timestamp getCreateDate() {
        return this.createDate;
    }
    
    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }

    public Timestamp getReadDate() {
        return this.readDate;
    }
    
    public void setReadDate(Timestamp readDate) {
        this.readDate = readDate;
    }

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

}